<div class="sidebar " style="top: 90px; " >
				<div class="weght">
					
					<div class="nav">
						<h3>
							Điều hòa treo tường <span class="settings"></span>
						</h3>
					</div>
					<div class="menu_left">
						<ul>
							<?php foreach ($cate0 AS $giadinh):?>
                            <li><a href="<?php echo base_url(). mb_strtolower(url_title(removesign( $giadinh['cate_name'])));?>"><?php echo $giadinh['cate_name'];?></a></li>
							<!--<li><a href="<?php echo base_url(). mb_strtolower(url_title(removesign( $giadinh['cate_name']))).'-c-'.$giadinh['cate_id'];?>"><?php echo $giadinh['cate_name'];?></a></li>-->
							<?php endforeach;?>
						</ul>
					</div>
				</div>
				<!------------weght1-------->

				<div class="weght">
					<div class="nav">
						<h3>
							Điều hòa tủ đứng <span class="settings"></span>
						</h3>
					</div>
					<div class="menu_left">
						<ul>
							<?php foreach ($cate1 AS $giadinh):?>
							<li><a href="<?php echo base_url(). mb_strtolower(url_title(removesign( $giadinh['cate_name']))).'-c-'.$giadinh['cate_id'];?>"><?php echo $giadinh['cate_name'];?></a></li>
							<?php endforeach;?>
						</ul>
					</div>
				</div>
				<!------------weght1-------->
				<?php
				$uri = $this->uri->ruri_to_assoc(1);
                
 				// var_dump($uri);
              
				?>
				<?php if(isset($uri['contents']) && $uri['contents'] == 'dichvu' || @$uri['cfooter'] == 'cfooterview'  ){
					?>
					<div class="weght">
				        <div class="nav">
				          <h3 > Sản phẩm khác<span class="settings"></span> </h3>
				        </div>
				        <?php foreach ($getspcungloai AS $getspcungloai):?>
				        <div class="lis_prd_lq">
				          <div class="lis3"> <a href="<?php echo base_url(). mb_strtolower(url_title(removesign( $getspcungloai['title']))).'.html';?>"><img width="150px" height="170px" src="<?php echo $getspcungloai['img1']?>"></a>
				            <div class="ldtail3">
				              <h3><a href="<?php echo base_url(). mb_strtolower(url_title(removesign( $getspcungloai['title']))).'.html';?>"><?php echo $getspcungloai['title'];?></a> </h3>
				              <p class="price"><?php echo number_format($getspcungloai['price']);?> VNĐ</p>
				              <a class="more" href="<?php echo base_url(). mb_strtolower(url_title(removesign( $getspcungloai['title']))).'.html';?>">Xem chi tiết</a> </div>
				          </div>
				        </div>
				        <?php endforeach;?>
				      </div>
					<?php 	
				}elseif(isset($uri['products']) && $uri['products'] == 'deproduct' || @  $uri['news'] == 'detailview'){ ?>
					<div class="weght">
				        <div class="nav">
				          <h3 > Sản phẩm liên quan<span class="settings"></span> </h3>
				        </div>
				        <?php foreach ($getspcungloai AS $getspcungloai):?>
				        <div class="lis_prd_lq">
				          <div class="lis3"> <a href="<?php echo base_url(). mb_strtolower(url_title(removesign( $getspcungloai['title']))).'.html';?>"><img width="150px" height="170px" src="<?php echo $getspcungloai['img1']?>"></a>
				            <div class="ldtail3">
				              <h3><a href="<?php echo base_url(). mb_strtolower(url_title(removesign( $getspcungloai['title']))).'.html';?>"><?php echo $getspcungloai['title'];?></a> </h3>
				              <p class="price"><?php echo number_format($getspcungloai['price']);?> VNĐ</p>
				              <a class="more" href="<?php echo base_url(). mb_strtolower(url_title(removesign( $getspcungloai['title']))).'.html';?>">Xem chi tiết</a> </div>
				          </div>
				        </div>
				        <?php endforeach;?>
				      </div>
				<?php }else { ?>
					
					<div class="weght">
			        <div class="nav">
			          <h3 > Tin tức<span class="settings"></span> </h3>
			        </div>
			        <div class="list_carousel">
			          <ul id="foo2">
			            <?php
						$array = array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24);
						$count = 1;
						foreach ($tintuc as $tintucs) {
							if($count % 8 == 1){
								echo "<li><ul class='list'>";
							}
							?>
							<li>
								<h4>
									<a href="<?php echo base_url(). mb_strtolower(url_title(removesign( $tintucs['content_name']))).'-tt-'.$tintucs['content_id'].'.html';?>"><?php echo  $tintucs['content_name']; ?></a>
								</h4>
								<p><?php echo  word_limiter($tintucs['content_name'], 20); ?></p>
							</li>
							<?php
						    
						    if ($count %8 == 0){
						    	echo "</ul></li>";
						    }
						    $count++;
						}?>
			            <?php
			            if ($count %8 != 1){
			            	echo "</ul></li>"."<br/>";
			            } 
			            ?>
			          </ul>
			          <div class="clearfix"></div>
			          <div class="ns2-art-controllers"> <a id="prev2" class="prev" href="#">prev</a> <a id="next2" class="next" href="#">next</a>
			            <div id="pager2" class="pager"></div>
			          </div>
			        </div>
			      </div>
				
				<?php }?>
				

			</div>